#! /bin/sh

BINSCRIPT=bin/subconv.py

cd $(dirname $0)

echo "#! /usr/bin/python" > $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/import.py >> $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/sub_ssa.py >> $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/sub_srt.py >> $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/sub_sbv.py >> $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/sub_conv.py >> $BINSCRIPT
echo "" >> $BINSCRIPT
cat src/main.py >> $BINSCRIPT

#python -m py_compile $BINSCRIPT

chmod 0755 $BINSCRIPT
